package com.pureut.storage.controller;


import com.pureut.storage.dto.NewPickingSaleDetailDto;
import com.pureut.storage.service.PickingSaleDetailService;
import com.sale.common.core.web.controller.BaseController;
import com.sale.common.mybatis.core.page.PageQuery;
import com.sale.common.mybatis.core.page.TableDataInfo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 销售发货明细控制层
 * @author: CM
 * @date: 2023/7/24  15:11
 */

@RestController
@RequestMapping("/pickingSaleDetail")
public class PickingSaleDetailController extends BaseController {

    @Resource
    private PickingSaleDetailService pickingsaleDetailService;

    /**
     * 查询销售发货列表
     */
    @GetMapping("/list")
    public TableDataInfo<NewPickingSaleDetailDto> getList(String wodDocNum, PageQuery pageQuery) {
        //查询销售发货列表
      return  pickingsaleDetailService.getList(wodDocNum,pageQuery);

    }

}
